package com.gitee.zhanyao.common.service.entity.system;

import com.gitee.zhanyao.common.service.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "sys_enterprise")
public class SysEnterprise extends BaseEntity implements Serializable {

    /**
     * 企业主键
     */
    private String id;
    /**
     * 企业名称
     */
    private String name;
    /**
     * 企业编码
     */
    private String code;
    /**
     * 父企业主键
     */
    private String pid;
    /**
     * 系统编码
     */
    private String sysCode;
    /**
     * 企业角色编码
     */
    private String roleCode;
    /**
     * 排序号
     */
    private String sortNo;

}
